package cn.tedu.jewelry.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class AdminStandVO implements Serializable {
    @ApiModelProperty(value = "管理员id",example = "",required = false,position = 1)
    private Long id;

    @ApiModelProperty(value = "管理员用户名",example = "root",required = true,position = 2)
    private String username;

    @ApiModelProperty(value = "管理员密码",example = "123456",required = true,position = 3)
    private String password;

    @ApiModelProperty(value = "管理员昵称",example = "",required = false,position = 4)
    private String nick;

    @ApiModelProperty(value = "管理员启用状态1,0",example = "",required = false,position = 5)
    private Long enable;

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nick='" + nick + '\'' +
                ", status=" + enable +
                '}';
    }
}
